package geppetto.phraseTable.phrase.feature;

public class LexicalWeightingFeature extends AbstractFeature{
	double lexicalWeighting;

	public LexicalWeightingFeature(double lexicalWeighting) {
		super();
		this.lexicalWeighting = lexicalWeighting;
	}

	public double getLexicalWeighting() {
		return lexicalWeighting;
	}

	public void setLexicalWeighting(double lexicalWeighting) {
		this.lexicalWeighting = lexicalWeighting;
	}
	
	@Override
	public String toMosesFormat() {
		return convertDoubleToMosesFormat(getLexicalWeighting());
	}

}
